package test2;

public class Dog extends Animal {
    //就是相当于把父类所有公开的东西搬过来了

    public Dog(String name, int age) {
        super(name, age);
    }





}
